From: Corey Berla Date: Wed, 27 Apr 2022 19:16:11 +0000 (-0700) Subject: places: Fix crash when disconnecting X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~57^2^2~19^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ff84b96480dd965095a9e910443350dbc0e8d96a;p=gtk4.git places: Fix crash when disconnecting After disconnecting a network mount in places (when there's 2 or more mounts), right clicking another mount crashes the application. Set row_for_action to NULL when successfully unmounted. --- diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c index cb13276513..a8ac3613a4 100644 --- a/gtk/gtkplacesview.c +++ b/gtk/gtkplacesview.c @@ -1319,6 +1319,7 @@ volume_mount_ready_cb (GObject *source_volume, return; } + view->row_for_action = NULL; view->mounting_volume = FALSE; update_loading (view);